﻿using Base.FileRemoteModel.Pdf;
using Base.FileRemoteModel.Pdf.Model;
using Base.FileService.Interface;
using WeDonekRpc.Client.Interface;

namespace Base.FileService.RpcEvent
{
    internal class PdfFileEvent : IRpcApiService
    {
        private readonly IWritePdfFileSignService _Service;

        public PdfFileEvent ( IWritePdfFileSignService service )
        {
            this._Service = service;
        }
        public FilePdfResult SavePdfSignFile ( SavePdfSignFile obj )
        {
            return this._Service.WriteSign(obj.PdfFile);
        }
    }
}
